import React from 'react';
import { Collapse } from 'antd';
import {MonacoEditorCodeComp} from "../components/MonacoEditorCodeComp";

const text = `
  A dog is a type of domesticated animal.
  Known for its loyalty and faithfulness,
  it can be found as a welcome guest in many households across the world.
`;

const items = [
    {
        key: '1',
        label: '2025-05-13',
        children: <MonacoEditorCodeComp code={'console.log(1)'} language={'javascript'}/>,
    }
];

/**
 * 一天总结
 * @returns {Element}
 * @constructor
 */
export const TodoList = function () {
    return <Collapse items={items} defaultActiveKey={['1']} />;

};